// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import axios from 'axios'
import 'amfe-flexible'
import Vant from 'vant'
import config from '@/apiconfig'
import wx from 'weixin-js-sdk'

var VueTouch = require('vue-touch')
Vue.use(VueTouch, { name: 'v-touch' })
Vue.use(Vant)
Vue.use(wx)
Vue.config.productionTip = false
Vue.prototype.$config = config
// 定义全局变量
Vue.prototype.$axios = axios
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
